package com.lin.cms.dao;

import java.util.List;
import org.apache.ibatis.session.RowBounds;

import com.lin.cms.criteria.UploadCriteria;
import com.lin.cms.domain.Upload;

public interface UploadMapper{
	
	Upload selectByPrimaryKey(String filename);
	
	List<Upload> selectByCriteria(UploadCriteria criteria);
	
	int deleteByPrimaryKey(String filename);
	
	int deleteByCriteria(UploadCriteria criteria);
	
	int insert(Upload upload);
	
	int updateByPrimaryKeySelective(Upload upload);
	
	int updateByPrimaryKey(Upload upload);
	
	List<Upload> selectByPage(UploadCriteria criteria,RowBounds bounds);
	 
	int countByCriteria(UploadCriteria criteria);
    
}
